# -*- coding: utf-8 -*- 
# 作者:飞虎
# 开发时间:2022/5/25 20:38
from PyQt5.Qt import *
from ui_class_ts import Ui_Form


class Window(QWidget, Ui_Form):
	def __init__(self):
		super().__init__()
		self.setWindowTitle('加载UI的学习')
		self.resize(500, 500)
		self.setupUi(self)
		self.setup_ui()

	def setup_ui(self):
		pass

	def btn_click(self):
		print(self.lineEdit.text())
		print(self.lineEdit_2.text())


if __name__ == '__main__':
	import sys

	app = QApplication(sys.argv)
	window = Window()
	window.show()
	# from ui_class_ts import Ui_Form
	#
	# ui = Ui_Form()
	# ui.setupUi(window)

	sys.exit(app.exec_())
